package com.ebocy.hammer.core.domain;

import com.ebocy.hammer.core.db.model.BaseEntity;

import com.ebocy.hammer.core.db.annotations.Entity;

@Entity
public class Item extends BaseEntity { 

	private static final long serialVersionUID = 1L;
	/**道具ID*/
	private int itemId;
	/**设置道具ID*/
	public void setItemId(int itemId) {
		this.itemId = itemId;
	}
	/**获取道具ID*/
	public int getItemId(){
		return itemId;
	}
	/**道具名称*/
	private String name;
	/**设置道具名称*/
	public void setName(String name) {
		this.name = name;
	}
	/**获取道具名称*/
	public String getName(){
		return name;
	}
	/**触发对象*/
	private int isOppose;
	/**设置触发对象*/
	public void setIsOppose(int isOppose) {
		this.isOppose = isOppose;
	}
	/**获取触发对象*/
	public int getIsOppose(){
		return isOppose;
	}
	/**道具效果*/
	private int type;
	/**设置道具效果*/
	public void setType(int type) {
		this.type = type;
	}
	/**获取道具效果*/
	public int getType(){
		return type;
	}
	/**值*/
	private int effectValue;
	/**设置值*/
	public void setEffectValue(int effectValue) {
		this.effectValue = effectValue;
	}
	/**获取值*/
	public int getEffectValue(){
		return effectValue;
	}
	/**持续时间(ms)*/
	private int time;
	/**设置持续时间(ms)*/
	public void setTime(int time) {
		this.time = time;
	}
	/**获取持续时间(ms)*/
	public int getTime(){
		return time;
	}
	/**道具CD(ms)*/
	private int coolDown;
	/**设置道具CD(ms)*/
	public void setCoolDown(int coolDown) {
		this.coolDown = coolDown;
	}
	/**获取道具CD(ms)*/
	public int getCoolDown(){
		return coolDown;
	}
	/**单场使用量*/
	private int maxNum;
	/**设置单场使用量*/
	public void setMaxNum(int maxNum) {
		this.maxNum = maxNum;
	}
	/**获取单场使用量*/
	public int getMaxNum(){
		return maxNum;
	}
	/**描述*/
	private String info;
	/**设置描述*/
	public void setInfo(String info) {
		this.info = info;
	}
	/**获取描述*/
	public String getInfo(){
		return info;
	}
}
